n=3462; pencil=[|7959,7095| 5600,5661| 2503,3618|];